package com.szq.netty.util;

import com.szq.netty.domain.MsgDemo01;
import com.szq.netty.domain.MsgDemo02;
import com.szq.netty.domain.MsgDemo03;

/**
 * @ClassName: MsgUtil
 * @Description:
 * @Author: szq
 * @Date: 2021-11-23 11:05:39
 */
public class MsgUtil {

    public static MsgDemo01 buildMsgDemo01(String channelId, String msgContent) {
        return new MsgDemo01(channelId, msgContent);
    }

    public static MsgDemo02 buildMsgDemo02(String channelId, String msgContent) {
        return new MsgDemo02(channelId, msgContent);
    }

    public static MsgDemo03 buildMsgDemo03(String channelId, String msgContent) {
        return new MsgDemo03(channelId, msgContent);
    }
}
